package com.cyh.testdesignpattern.adapter.classadapter;

//220V电压转5V电压
public class VoltageAdapter  extends Voltage220V implements IVoltage5V{
    @Override
    public int output5V() {
        int srcV = output220V();
        int dstV = srcV/44;
        return dstV;
    }
}
